package com.qianya.model.pojo.patient.qo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ImageObj对象", description="患者头像")
public class ImageObj {
    @ApiModelProperty(value = "患者头像")
    @NotBlank(message = "图片不能为空" )
    @Length(min = 31,message = "不是合法的base64格式")
     private  String image;
}
